 |
API Documentation
|
|
|
142 virtual bool load ()
override ;
void setFromFiles(const nkMemory::StringView &folder)
Holds all informations related to GPU programs, and manages their compilation.
Definition: Program.h:12
virtual bool loadFromMemory()=0
unsigned int getId() const
A more generic version of the InfiniteBitMask.
Definition: InfiniteMask.h:15
An interface to define objects that can be exported using this component.
Definition: Exportable.h:15
bool prepareMemoryWithFiles()
PROGRAM_TYPE
The type of programs available.
Definition: ProgramType.h:12
virtual void unload() override
virtual void setDefines(const ProgramSourcesHolder &memory)
virtual bool tryToLoadFrom(ProgramSourcesHolder &newMemory)=0
Holds information about a complation result, from a program.
Definition: ProgramCompilationResult.h:12
void setId(unsigned int id)
PROGRAM_TYPE getType() const
const ProgramCompilationResult & getLastCompilationResult() const
void setFileExtensions(const nkMemory::StringView &value)
virtual void importClassFromTree(nkExport::Node *rootNode) override
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
bool isFromMemory() const
virtual void exportClassToTree(nkExport::Node *rootNode) override
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
Holds the sources of a program.
Definition: ProgramSourcesHolder.h:26
const InfiniteByteMask & getSemantics() const
Base class for a resource in the component.
Definition: Resource.h:12
virtual void setFromMemory(const ProgramSourcesHolder &memory)
virtual bool load() override
PROGRAM_COMPILATION_PROFILE
Available program compilation profiles.
Definition: DxDefinesWrapper.h:652
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
ProgramSourcesHolder * getMemory() const
PROGRAM_COMPILATION_PROFILE getProfile() const
void setProfile(PROGRAM_COMPILATION_PROFILE profile)